﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaskX
{
    public class DeadlineTask : Task
    {
        private Timing endTime;

        public Timing GetEndTime()
        {
            return endTime;
        }

        public void SetEndTime(Timing end)
        {
            endTime = end;
        }

        public DeadlineTask(string tasks, Timing end)
            : base(tasks)
        {
            endTime = end;
        }
    }
}
